package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the CC_HOSPITAL_ELECTRONIC database table.
 * 
 */
@Entity
@Table(name="CC_HOSPITAL_ELECTRONIC")
@NamedQuery(name="CcHospitalElectronic.findAll", query="SELECT c FROM CcHospitalElectronic c")
public class CcHospitalElectronic implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="CC_HOSPITAL_ELECTRONIC_HEID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CC_HOSPITAL_ELECTRONIC_HEID_GENERATOR")
	@Column(name="HE_ID")
	private long heId;

	@Column(name="ELE_STAFFID")
	private BigDecimal eleStaffid;

	@Temporal(TemporalType.DATE)
	@Column(name="HE_DATE")
	@JSONField(format="yyyy/MM/dd")
	private Date heDate;

	@Column(name="HE_DOCTORID")
	private BigDecimal heDoctorid;

	@Column(name="HE_SICKID")
	private BigDecimal heSickid;

	@Column(name="HE_TYPE")
	private String heType;

	@Column(name="HOSPELE_REMARKS")
	private String hospeleRemarks;

	public CcHospitalElectronic() {
	}

	public long getHeId() {
		return this.heId;
	}

	public void setHeId(long heId) {
		this.heId = heId;
	}

	public BigDecimal getEleStaffid() {
		return this.eleStaffid;
	}

	public void setEleStaffid(BigDecimal eleStaffid) {
		this.eleStaffid = eleStaffid;
	}

	public Date getHeDate() {
		return this.heDate;
	}

	public void setHeDate(Date heDate) {
		this.heDate = heDate;
	}

	public BigDecimal getHeDoctorid() {
		return this.heDoctorid;
	}

	public void setHeDoctorid(BigDecimal heDoctorid) {
		this.heDoctorid = heDoctorid;
	}

	public BigDecimal getHeSickid() {
		return this.heSickid;
	}

	public void setHeSickid(BigDecimal heSickid) {
		this.heSickid = heSickid;
	}

	public String getHeType() {
		return this.heType;
	}

	public void setHeType(String heType) {
		this.heType = heType;
	}

	public String getHospeleRemarks() {
		return this.hospeleRemarks;
	}

	public void setHospeleRemarks(String hospeleRemarks) {
		this.hospeleRemarks = hospeleRemarks;
	}

}